<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/3/16
  Time: 14:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="../css/home.css">
    <link rel="stylesheet" href="../css/common.css">
</head>
<body>
<jsp:include page="top.jsp"></jsp:include>
<!--中间的内容为一-->
<div class="content-banner">

    <!--    居中 为二-->
    <div class="content">
        <div class="home-left floatLeft">
            <div class="home-title">较新动态</div>
            <div class="home-content">
                <div class="floatLeft"><img src="../img/m331.jpg" height="190" width="268"/></div>
                <div class="floatLeft home-news-content">
                    <c:forEach items="${jxnews}" var="aa">
                        <div>
                            <h5 class="overFlow">${aa.title}</h5>
                            <p class="overFlow">${aa.content}</p>
                        </div>
                    </c:forEach>
                </div>
            </div>
        </div>
        <div class="home-right floatRight">
            <div class="home-title">产品展示</div>
            <div class="home-product">
                <c:forEach items="${cplist}" var="aa">
                    <div class="floatLeft">
                        <div><img src="${aa.img}" height="300" width="300"/></div>
                        <div>
                            <h5>${aa.title}</h5>
                            <p>${aa.content}</p>
                        </div>
                    </div>
                </c:forEach>
            </div>
        </div>
    </div>
</div>
<jsp:include page="foot.jsp"></jsp:include>
</body>
</html>
